package com.zd.zdMerchant.sys.dal.dao;

import com.zd.zdMerchant.sys.dal.domain.Shop;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhangxiang
 * @Description
 * @date 2018/1/4 14:15
 */
public interface ShopDao {

    /**
     * 根据手机号和密码查找用户
     * @param phone
     * @param password
     * @return 1为正确结果
     */
    Shop loginByUsernameAndPassword(@Param("phone") String phone,@Param("password") String password);
}
